// UE3dSolidOsnapMode.cpp: implementation of the UE3dSolidOsnapMode class.
//
//////////////////////////////////////////////////////////////////////



#include "stdafx.h"
#include "UE3dSolidOsnapMode.h"

#include <dbmain.h>
#include <dbosnap.h>

#include "UEEntityOsnapInfo.h"
#include "UEEntityOperation.h"

#ifdef _DEBUG
#undef THIS_FILE
static char THIS_FILE[]=__FILE__;
#define new DEBUG_NEW
#endif
#ifdef _ARX2000
//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

UE3dSolidOsnapMode::UE3dSolidOsnapMode()
{
	this->m_pGlyph = NULL;
	this->m_pRCOsnapInfo = NULL;
	this->m_strGlobalModel = NULL;
	this->m_strLocalModel = NULL;
	this->m_strTooltip = NULL;
}

UE3dSolidOsnapMode::~UE3dSolidOsnapMode()
{
	if ( this->m_pGlyph )
	{
		delete this->m_pGlyph;
		this->m_pGlyph = NULL;
	}
}

const char* UE3dSolidOsnapMode::localModeString() const
{
    return this->m_strLocalModel;
}

const char* UE3dSolidOsnapMode::globalModeString() const
{
    return this->m_strGlobalModel;
}

const AcRxClass* UE3dSolidOsnapMode::entityOsnapClass() const
{
	return this->m_pRCOsnapInfo;
}

AcGiGlyph* UE3dSolidOsnapMode::glyph() const
{
    return this->m_pGlyph;
}

const char* UE3dSolidOsnapMode::tooltipString() const
{
    return this->m_strTooltip;
}

#endif //_ARX2000
